from apps import app, db
import os


# base_dir = os.path.abspath(os.path.dirname(__file__))
# print(base_dir)
# filepath = os.path.join(base_dir, 'data1.sqlite')
# print(filepath)
with app.app_context():
    db.create_all()

if __name__ == '__main__':
    app.run(host='0.0.0.0')